
| Visual Basic (Declaration) | |
|---|---|
Public Class NavigationScalarEntityProperty
(Of TInstance As Class,
TValue As Class)
Inherits NavigationEntityProperty | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As NavigationScalarEntityProperty(Of TInstance,TValue) | |
| C# | |
|---|---|
public class NavigationScalarEntityProperty<TInstance,TValue> : NavigationEntityProperty where TInstance: class where TValue: class | |
| C++/CLI | |
|---|---|
generic<typename TInstance> generic<typename TValue> public ref class NavigationScalarEntityProperty : public NavigationEntityProperty where TInstance: ref class where TValue: ref class | |
- TInstance
- Type of entity
- TValue
- Type of property
The EntityProperties auto-generated by the Object Mapper use this strongly-typed declaration for all relational properties having a scalar data type.
Every NavigationScalarEntityProperty has both a GetterInterceptor and SetterInterceptor to which you can inject custom actions. You add these actions using attributes and the AddAction method.
System.Object
IdeaBlade.EntityModel.EntityProperty
IdeaBlade.EntityModel.NavigationEntityProperty
IdeaBlade.EntityModel.NavigationScalarEntityProperty<TInstance,TValue>
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family